using System;
using System.Collections.Generic;
using System.Text;

namespace PDSClient.Communication
{
    /// <summary>
    /// Factory for concrete implementations of ClientConnector.
    /// </summary>
    public interface IClientConnectorFactory
    {
        /// <summary>
        /// Creates a new instance of ClientConnector based on the given properties.
        /// </summary>
        /// <param name="properties">properties which affect the implementation 
        /// of the returned ClientConnector</param>
        /// <returns>a ClientConnector</returns>
        ClientConnector CreateConnector(IDictionary<string, string> properties);
    }
}
